package com.darrendb.as3.utils {
	
	import flash.display.MovieClip;
	import flash.events.Event;

	public class PopupAutoCloseTimerEvent extends Event {
		
		// Define static constants for Event.type.
		public static const TIMER_COMPLETE:String = "TIMER_COMPLETE";
		
		// Define a public variable to pass data from Broadcaster to Listener
		public var target_mc:MovieClip;
		
		// Public constructor.
		public function PopupAutoCloseTimerEvent(type:String, p_target_mc:MovieClip) {
			// Call the constructor of the superclass.
			super(type);
			// Set the new property.
			this.target_mc = p_target_mc;
		}
		
        // Override the inherited clone() method. 
        override public function clone():Event {
            return new PopupAutoCloseTimerEvent(this.type, this.target_mc);
        }
		
	}// end class

}// end package